package ign.behaviours.building;

import ign.agents.Building;
import jade.core.Agent;
import jade.core.behaviours.TickerBehaviour;

/**
 * Comportement qui remet l'état de propagation à 0 après un certain temps.
 * @author Simon Bourigaut & Ghislain Di Paolo
 */
public class ResetState extends TickerBehaviour {
	private static final long serialVersionUID = -6404638371995223868L;
	Building me = (Building) myAgent;
	
	public ResetState(Agent a, long tick) {
		super (a, tick);
		
	}

	@Override
	protected void onTick(){
		
		me.resetProp();
	}

}
